<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>淘宝</title>
    <style>
        #aa{
            background-color: whitesmoke;
            width: 1475px;
            height: 686px;
        }
        #head{
            height: 120px;
            /*flex布局使内容垂直居中*/
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: flex-start;
            font-family: "楷体";
        }
        #name{
            /*height: 100px;*/
            color: darkorange;
            margin-left: 50px;
            font-size: 50px;
            line-height: 1;

            margin-bottom: 0;
        }
        #pinyin{
            /*height: 20px;*/
            color: darkorange;
            margin-left: 80px;
            line-height: 1;
            margin-top: 0;
        }
        #center{
            height: 566px;
        }
        #tishi{
            border: 1px solid gray;
            border-radius: 10px;
            margin: auto;
            background-color: white;
            width: 800px;
            height: 460px;

        }
        #erweima{
            width: 300px;
            height: 360px;
            float: left;
            border-right: 1px solid black;
        }
        #denglu{
            width: 499px;
            height: 360px;
            float: left;
        }
        #zi{
            text-align: center;
            height: 50px;
        }
        #tupian{
            height: 150px;
            text-align: center;
        }
        #xuanxiang{
            height: 50px;
            /*background-color: red;*/
        }
        ul li{
            list-style: none;
            height: 50px;
            width: 228.5px;
            border-right: 1px solid #B0B0B0;
            /*浮动*/
            float: left;
            /*水平居中*/
            text-align: center;
            /*垂直居中 通过设置行高*/
            line-height: 30px;
            color: black;
            font-size: 20px;
        }
        #anniu{
            width: 200px;
            height: 50px;
            background-color: orange;
            font-size: 18px;
            margin-left: 150px;
            justify-content: center;
        }
    </style>
</head>
<body>
    <div id="aa">
        <div id="head">
            <div id="name">淘宝</div>
            <div id="pinyin">TaoBao</div>
        </div>
        <div id="center">
            <div id="tishi">
                <div style="height: 100px"></div>
                <div id="erweima">
                    <div><h2 id="zi">手机扫码登录</h2></div>
                    <div id="tupian">
                        <img src="../static/image/二维码.png" width="150px" >
                    </div>
                    <div style="height: 50px;text-align: center;line-height: 50px">打开淘宝APP——点击左上角扫一扫</div>
                    <div style="font-size: 20px;text-align: center"><a href="howlogin.html">怎么扫码登录？</a></div>
                </div>

                <div id="denglu">
                    <div id="xuanxiang">
                        <ul>
                            <li>密码登录</li>
                            <li>短信登录</li>
                        </ul>
                    </div>
                    <div style="height: 40px"></div>
                    <form action="/login/" method="post">
                        <div style="height: 40px;text-align: center"><input name="username" style="width: 250px;height:30px;display:inline-block;margin: auto" type="text" placeholder="账号名/邮箱/手机号"></div>
                        <div style="height: 20px"></div>
                        <div style="height: 40px;text-align: center"><input name="password" style="width: 250px;height:30px;display:inline-block;margin: auto" type="password" placeholder="请输入登录密码"></div>
                        <div style="height: 60px"></div>
                        <div><input id="anniu" type="submit" value="登录"></div>
                        <div style="text-align: center"><span style="color: red">{{ msg }}</span></div>
                    </form>

                </div>
            </div>
        </div>


    </div>
</body>
</html>